package com.my.serviceimpl;

import com.my.bean.Evaluate;
import com.my.bean.ProjectStar;
import com.my.mapper.EvaluateMapper;
import com.my.service.EvaluateService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 产康评价 服务实现类
 * </p>
 *
 * @author 闫亚茹
 * @since 2018-08-25
 */
@Service
public class EvaluateServiceImpl extends ServiceImpl<EvaluateMapper, Evaluate> implements EvaluateService {
	public List<Evaluate> selectEvaluate(Long areaid,boolean admin){
	    return baseMapper.selectEvaluate(areaid,admin);
    }

	  @Override
	public List<ProjectStar> countEvaStar(String param,Long areaid,boolean admin) {
		return baseMapper.countEvaStar(param,areaid,admin);
	}
}
